IHipTileset

Tileset is a data set containing tiles. It has information about the underlying texture used for a tile.

Members

Functions

columns
uint columns()
Undocumented in source.
firstGid
uint firstGid()

Means where the tileset id starts

getTextureRegion
IHipTextureRegion getTextureRegion(ushort id)
Undocumented in source. Be warned that the author may not have intended to support it.
getTile
Tile* getTile(ushort id)
Undocumented in source. Be warned that the author may not have intended to support it.
margin
int margin()
Undocumented in source.
name
string name()
Undocumented in source.
path
string path()

Only available when loaded via .tsx

spacing
int spacing()
Undocumented in source.
texture
IHipTexture texture()
Undocumented in source.
textureHeight
uint textureHeight()

"imageheight" in tiled

texturePath
string texturePath()

"image" in tiled

textureWidth
uint textureWidth()

"imagewidth" in tiled

tileCount
uint tileCount()
Undocumented in source. Be warned that the author may not have intended to support it.
tileHeight
uint tileHeight()
Undocumented in source.
tileWidth
uint tileWidth()
Undocumented in source.
tiles
Tile[] tiles()

Usually only accessed when looking for a specific property

Meta